/**
Company: Sarkar software technologys
WebSite: http://www.sarkar.cn
Author: yeganaaa
Date : 8/2/18
Time: 2:44 AM
 */

package com.ug_project.dict.engine.wordtable

class WordRowIterator(val wordRow: WordRow) : Iterator<Int> {
    var index = 0
    override fun hasNext() = index < wordRow.layerCount
    override fun next() = wordRow.pointers[index++]
}